package com.item.service;

import com.item.dao.NoteCommentMapper;
import com.item.dao.model.NoteComment;
import com.item.dao.model.NoteCommentExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NoteCommentService {
    @Autowired
    private NoteCommentMapper noteCommentMapper;

    private static final Logger logger = Logger.getLogger(NoteCommentService.class);

    public int countByExample(NoteCommentExample example) {
        return this.noteCommentMapper.countByExample(example);
    }

    public NoteComment selectByPrimaryKey(String id) {
        return this.noteCommentMapper.selectByPrimaryKey(id);
    }

    public List<NoteComment> selectByExample(NoteCommentExample example) {
        return this.noteCommentMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String id) {
        return this.noteCommentMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(NoteComment record) {
        return this.noteCommentMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(NoteComment record) {
        return this.noteCommentMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(NoteCommentExample example) {
        return this.noteCommentMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(NoteComment record, NoteCommentExample example) {
        return this.noteCommentMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(NoteComment record, NoteCommentExample example) {
        return this.noteCommentMapper.updateByExample(record, example);
    }

    public int insert(NoteComment record) {
        return this.noteCommentMapper.insert(record);
    }

    public int insertSelective(NoteComment record) {
        return this.noteCommentMapper.insertSelective(record);
    }
}